<footer class="aui-bar aui-bar-tab" id="footer">
    <a href="{:U('Index/index')}" <eq name="active" value="">class="ft-act aui-bar-tab-item"<else/>class="aui-bar-tab-item"</eq> tapmode>
        <div class="img">
        </div>
        <div class="aui-bar-tab-label">首页</div>
    </a>
    <a href="{:U('Merchant/index',array('cate_id'=>200))}" <eq name="active" value="2">class="ft-act aui-bar-tab-item"<else/>class="aui-bar-tab-item"</eq>  tapmode>
        <div class="img">
        </div>
        <div class="aui-bar-tab-label">72实体店</div>
    </a>
    <a href="{:U('Article/cs')}" <eq name="active" value="lxwm">class="ft-act aui-bar-tab-item"<else/>class="aui-bar-tab-item"</eq> tapmode>
        <div class="img">
        </div>
        <div class="aui-bar-tab-label">反馈72</div>
    </a>
</footer>
<div class="tcc" style="display: none;">
    <form id="community" action="__SELF__" method="post" accept-charset="utf-8">
        <div class="ss" style="width: 80%;height: 8rem;background: #fff;margin: auto;margin-top: 4rem;">
            <div class="aui-content aui-margin-b-15">
                <ul class="aui-list aui-form-list">

                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                                选择社区
                            </div>
                            <div class="aui-list-item-input">
                                <select name="community_id" style="float: left;">
                                   <volist name="community" id="val">
                                       <option <eq name="val.id" value="$_SESSION['onethink_home']['community_detail']['id']">selected="selected"</eq> value="{$val.id}">{$val.title}</option>
                                   </volist>
                                </select>
                                <img src="__IMG__/sb.png" alt="" style="float: right;width: 10px;margin-top: -24px;">
                            </div>
                        </div>
                    </li>
                </ul>
                <p style="padding: 10px;font-size: 0.8rem;color:#333;">请选择您的社区，方便查看周边资讯</p>
            </div>
            <div class="cl" style="margin-top: 1rem;">
                取消
            </div>
            <a  style="margin-top: 1rem;" class="que" href="javascript:void(0);" onclick="sub_form()">确定</a>
        </div>
    </form>
</div>
<script type="text/javascript" src="__JS__/api.js"></script>
<script type="text/javascript" src="__JS__/aui-slide.js"></script>
<script type="text/javascript" src="__JS__/jquery-2.1.4.min.js"></script>
<script type="text/javascript">

    function sub_form() {
        $("#community").submit();
    }
    var slide = new auiSlide({
        container:document.getElementById("aui-slide3"), //容器
        // "width":300, //宽度
        "height":180, //高度
        "speed":500, //速度
        "autoPlay": 3000, //自动播放
        "loop":true,//是否循环
        "pageShow":true,//是否显示分页器
        "pageStyle":'line', //分页器样式，分dot,line
        'dotPosition':'center' //当分页器样式为dot时控制分页器位置，left,center,right
    });

    var ygd = 0;
    var index = 0;
    function gundong(){

        var gs = $(".hot-box .top .list a").length;
        var cd = gs-1;
        if (index==cd) {
            ygd = 0;index = 0;
        }else{ygd+=2;index+=1;}

        $(".hot-box .top .list").css("margin-top","-"+ygd+"rem");

    }

    setInterval("gundong()", 3000);
    $('.qy-btn').click(function(){
        $('.tcc').css('display','block');

    });
    $('.cl').click(function(){
        $('.tcc').css('display','none');

    });
    $('.que').click(function(){
        $('.tcc').css('display','none');

    });
    var is_one={$is_one|default='123'};
    if(is_one==1){
        console.log(is_one);
        $('.tcc').css('display','block');
    }
</script>
<block name="footer_js">

</block>